/**
 * @Author: easten
 * @Created: 2024-07-23 00:47:44
 * @Description: iot数据记录实体
 *
 */

export interface IotHistory {
  //网关id
  gatewayId: number;
  // 终端id
  terminalId: number;
  deviceCode?: number;
  dtCode?: number;
  value1?: number;
  value2?: number;
  value3?: number;
  value4?: number;
  value5?: number;
  time?: string;
}

export interface IotAlarm {
  //网关id
  gatewayId: number;
  // 终端id
  terminalId: number;
  deviceCode?: number;
  dtCode?: number;
  value1?: number;
  value2?: number;
  value3?: number;
  value4?: number;
  value5?: number;
  time?: string;
  // 报警状态 0：正常 1：预警，2：报警，3：故障
  status?: number;
}
